<template>
  <el-image :src="src">
    <template slot="error">
      <img src="./bigUserHeader.jpg" alt="">
    </template>
  </el-image>
</template>

<script>
export default {
  props: {
    src: {
      type: String,
      default: ''
    }
  }
}
</script>

<style lang="scss" scope>
.el-image{
  width: 100%;
  height: 100%;
  // border-radius: 50%;
  img{
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
}
</style>
